/*
package com.hui.config;

import org.springframework.boot.CommandLineRunner;
import org.springframework.cloud.task.configuration.EnableTask;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

import java.text.SimpleDateFormat;
import java.util.Date;

*/
/**
 * @author yhq
 * @date 17-5-15.
 *//*


@Configuration
@EnableTask
public class TaskConfig {
    @Bean
    public CommandLineRunner commandLineRunner() {
        return strings ->
                System.out.println("Executed at :" +
                        new SimpleDateFormat().format(new Date()));
    }
}
*/
